class AddColor < ActiveRecord::Migration
  def self.up
    create_table :colors do |t|
      t.string :name
    end

    add_column :routes, :color_id, :integer
  end

  def self.down
    drop_table :colors

    remove_column :routes, :color_id
  end
end
